Problem:

When a package is run from an external media source (USB or CD) during the installation an error message occurrs saying: "Please Insert Disc ...<NAME>" appears. This prevents the successful installation of a packaged application.

Solution:

This solution involves editing the Media table of an .MSI or .MST file. The Media file describes the set of discs that make up the source media for the installation.

Edit the .MSI or .MST and do the following:

  1. Edit the .MSI or .MST file (depending) using Wise Packaging Studios
  2. Click on Setup Editor in the bottom left
  3. Click on the Tables tab in the top left
  4. Click on the Media table in the list of table entries on the left
  5. Under the DiskPrompt entry you should see <NAME> from the error message above. Change this to the location of the .MSI or .MST file. For example if the .MST file being edited was located on a USB stick in a folder called DATA I would change <NAME> to \Data\
  6. Delete any information that may appear in the VolumeLabel entry.
  7. Recompile the .MSI or .MST and attempt to install from an external media source again.

More Information:

Media Table
Column
Type
Key
Nullable
DiskId
Integer
Y
N
LastSequence
Integer
N
N
DiskPrompt
Text
N
Y
Cabinet
Cabinet
N
Y
VolumeLabel
Text
N
Y
Source
Property
N
Y
The values edited in the above solution are: DiskPrompt and VolumeLabel.

DiskPrompt: This displays what will appear when you are prompted to change disks. It actually does not need to be edited to fix this error.
VolumeLabel: This is used to verify that the proper disk is in the drive before attempting to install files. The entry in this column must match the volume label of the physical media. Deleting it seems to say that no disk is needed.


Reference:
http://msdn.microsoft.com/en-us/library/Aa369801